package com.cet.beanmap.config;

import com.cet.beanmap.domain.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: cet-practice
 * @description:
 * @author: 陈恩涛
 * @create: 2023-03-14 14:55
 **/

@Configuration
public class BeanMapConfiguration {

    @Bean
    public User user1() {
        return  new User();
    }

    @Bean
    User user2() {
        return new User();
    }
}
